<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script src="https://cdn.staticfile.org/vue/2.4.2/vue.min.js"></script>
</head>

<body>
    <div id="app">
        <input type="text" v-model="bb">
        <p v-once>{{bb}}</p>
       <input type="button"  @click.once='cc' v-model='age'>
    </div>

    <script>
        var vm=new Vue({
           el:'#app',
           data:{
               bb:'我叫张俊',
               age:0,
           },
           methods:{
            cc:function(){
                this.age+=1,
              
            }
           }
        });
    </script>
</body>

</html>